import { createApp } from 'vue'
import App from './App.vue'
import router from "@/router";
import store from '@/stores'
import '@/assets/css/main.scss'
import '@/assets/css/tailwind.css'
import ECharts from '@/components/ECharts'
import ItemWrap from '@/components/ItemWrap'
import Empty from '@/components/Empty'
import ScrollSeamless from '@/components/ScrollSeamless'
import VideoPlayer from '@/components/VideoPlayer'
import Clock from '@/components/Clock'

import infiniteScroll from 'vue-infinite-scroll'
import { vue3ScrollSeamless } from "vue3-scroll-seamless";
import DataVVue3 from '@kjgl77/datav-vue3'

const app = createApp(App)

app.component('Echarts', ECharts)

app.component('ItemWrap', ItemWrap)

app.component('Empty', Empty)

app.component('VideoPlayer', VideoPlayer)

app.component('ScrollSeamless', ScrollSeamless)

app.component('Clock', Clock)

app.component('Vue3ScrollSeamless', vue3ScrollSeamless)

app.use(router)

app.use(store)

app.use(infiniteScroll)

app.use(DataVVue3)

app.mount('#app')
